package com.ruoyi.customer.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 再审件对象 t_reviewe_info
 *
 * @author zr
 * @date 2023-08-02
 */
@Data
//@EqualsAndHashCode(callSuper = true)
@ExcelIgnoreUnannotated
@TableName("t_reviewe_info")
public class TRevieweInfo extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 任务ID
     */
    private Long taskId;

    /**
     * 客户ID
     */
    private Long customerId;
    /**
     * 客户姓名
     */
    private String customerName;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 部门ID
     */
    private Long deptId;
    /**
     * 合同号
     */
    private String contractNum;
    /**
     * 费率
     */
    private BigDecimal feerate;
    /**
     * 申请额度
     */
    private Long quotaApply;
    /**
     * 进件银行
     */
    private String inBank;
    /**
     * 进件时间
     */
    private Date inTime;
    /**
     * 单件类型（进件类型）
     */
    private Long singletype;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 放款额度
     */
    private Long approveQuota;
    /**
     * 放款时间
     */
    private Date approveTime;
    /**
     * 客户转账 (尾款)
     */
    private BigDecimal getQuota;
    /**
     * 诚意金
     */
    private BigDecimal sincerityFee;
    /**
     * 渠道费
     */
    private BigDecimal channelFee;
    /**
     * 净创收    = 客户转账+诚意金- 渠道费
     */
    private BigDecimal revenue;
    /**
     *
     */
    private String payee;
    /**
     *
     */
    private Integer payeeType;
    /**
     * 收款时间
     */
    private Date payeeTime;
    /**
     * 收款银行
     */
    private String bank;
    /**
     *
     */
    private BigDecimal percentage;
    /**
     *
     */
    private String confirm;
    /**
     *
     */
    private Date confirmtime;
    /**
     * 还款时间
     */
    private Date paybacktime;
    /**
     * 渠道经理
     */
    private String channelManage;
    /**
     * 还款期限
     */
    private Long deadline;
    /**
     * 备注
     */
    private String remark;
    /**
     * 删除状态
     */
    @TableLogic
    private String delFlag;

    /**
     * 审件状态
     */
    private String revieweStatus;

    private Long createId;

    private String description;

    private String checkBy;

    private Date checkTime;

    // 撤回信息
    private String withdrawInfo;

    private String disType;

}
